package com.ddone.finance.pojo.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author ddone
 * @date 2024/4/13-08:42
 */
@Data
public class DictExcelDto {

    @ExcelProperty(value = "id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ExcelProperty(value = "上级id")
    private Long parentId;

    @ExcelProperty(value = "名称")
    private String name;

    @ExcelProperty(value = "值")
    private Integer value;

    @ExcelProperty(value = "编码")
    private String dictCode;

    @ExcelProperty(value = "创建时间")
    private Date createTime;

    @ExcelProperty(value = "更新时间")
    private Date updateTime;

}
